package com.cby.ssm.dao;

import com.cby.common.AbstractDao;
import com.cby.ssm.entity.Role_PermissionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 13296 on 2017/7/22.
 */
public interface Role_PermissionDao extends AbstractDao<Role_PermissionEntity> {
    List<Role_PermissionEntity> selectAllRole_Permission()throws Exception;
    List<Role_PermissionEntity> selectAllRoleByPermissionId(@Param("key") String permissionId)throws Exception;
    List<Role_PermissionEntity> selectAllPermissionByRoleId(@Param("key") String roleId)throws Exception;
}
